package com.jiangyg.mall.seckill.controller;

import com.jiangyg.mall.core.support.restful.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * 类描述：限流测试控制器
 *
 * @author jiangyg
 * @date 2022-09-01
 */
@Slf4j
@RestController
public class TestSentinelController {

    @GetMapping(value = "test")
    public Result<String> authentication(HttpServletRequest request) {
        return Result.ok("success");
    }

}
